package day3;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Lunch {
    public static void main(String[] args) {
        //口袋里有100元以上，吃KFC，否则，吃老乡鸡
        Scanner in=new Scanner(System.in);
        System.out.println("口袋里有多少钱:");
        int money=in.nextInt();
        if(money>100){
            System.out.println("KFC全家桶");
            money-=80;
        }else{
            System.out.println("吃old chicken food");
            money-=30;
        }
        System.out.println("还剩下"+money+"元");
//        if(money>100){
//            System.out.println("吃开封菜");
//            money-=80;
//        }
//        if(money<=100){
//            System.out.println("吃old chicken food");
//            money-=30;
//        }
    }
}
